package com.windrift.android.math.model;

public enum Operator {

	ADD("+") {
		@Override
		public int getResult(int firstNumber, int secondNumber) {
			return firstNumber + secondNumber;
		}
	};
	private String showText;

	private Operator(String showText) {
		this.showText = showText;
	}

	@Override
	public String toString() {
		return this.showText;
	}

	public abstract int getResult(int firstNumber, int secondNumber);

}
